<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/common/common.jspf"%>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/web/case/caseinput.js"></script>	
</head>
<body>
	<form id="form" name="form" class="form-horizontal" method="post" action="">
		<input type="hidden" name="patient_id" value="patient_id">
		<div id="symptom" style="width: 100%;">
			<section style="width: 100%;">
				<article style="width: 100%;text-align: left;height:90%;">
					<c:forEach items="${symptoms}" var="s">
						<span style="width: 50%; float: left; height: 30px; line-height: 30px;padding-left: 10px;">
							<input type="checkbox" name="symps" style="margin-right: 10px;" value="${s.symptom}">${s.symptom}
						</span>
					</c:forEach>
				</article>
			</section>
		</div>
	</form>
</body>
<script type="text/javascript">
function getvalues(){
	var data=$("input[name='symps']:checked").map(function (){ return $(this).val(); }).get().join(",");
	if(data!=null&&data!=""&&data!=undefined){
		return data;
	}else{
		layer.msg("请选择临床症状");
		return;
	}
}
</script>
</html>
